package com.example.service;

import com.example.dto.RoleStatusDto;
import com.example.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.utils.ResponseResult;

import java.util.List;

/**
* @author sprite-pc
* @description 针对表【sys_role(角色信息表)】的数据库操作Service
* @createDate 2023-12-29 12:57:18
*/
public interface RoleService extends IService<Role> {

    List<String> selectRoleKeyByUserId(Long id);

    ResponseResult getList(int pageNum, int pageSize, String roleName, String status);

    ResponseResult changeStatus(RoleStatusDto roleStatusDto);


}
